package com.sc.nft.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.Version;
import com.sc.nft.enums.RegionLevelEnum;
import com.sc.nft.sup.SuperEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * nft版权部分绑定(NftRegionBinding)表实体类
 *
 * @author 王伟成
 * @since 2023-10-11 16:47:36
 */
@Data
@TableName("sc_nft_region_binding")
@ApiModel(value = "sc_nft_region_binding 对象", description = "nft版权部分绑定")
public class NftRegionBinding extends SuperEntity<NftRegionBinding> implements Serializable {
    @ApiModelProperty(value = "藏品id")
    private Long collectionId;

    @ApiModelProperty(value = "省份id")
    private Long provinceId;

    @ApiModelProperty(value = "城市id")
    private Long cityId;

    @ApiModelProperty(value = "地区id")
    private Long regionId;

    @ApiModelProperty(value = "省份名字")
    private String provinceName;

    @ApiModelProperty(value = "城市名字")
    private String cityName;

    @ApiModelProperty(value = "地区名字")
    private String regionName;

    @ApiModelProperty(value = "排序")
    private Integer ranking;

    @ApiModelProperty(value = "权益有效时间")
    private Date effectiveTime;

    @ApiModelProperty(value = "活跃度")
    private BigDecimal activation;

    @ApiModelProperty(value = "省市区级别")
    private RegionLevelEnum regionLevel;

    @Version
    private Integer version;


}
